<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>对象类型</title>
</head>
<body>
<script>

    var object_one = {
        name : "张三",
        age: 18,
        sex: "男",
        love: ["java", "python", "javascript"]
    };
    console.log(object_one);
    document.write(object_one.name);
    document.write(object_one.love);
</script>
</body>
</html>